execute as @a if items entity @s weapon.mainhand carrot_on_a_stick[custom_data={id:"rmr:hell_grail"}, custom_model_data=5257001] if score # rmr.entity.hell_mode matches 1 run item modify entity @s weapon.mainhand rmr:set_hell_grail/active
execute as @a if items entity @s weapon.mainhand carrot_on_a_stick[custom_data={id:"rmr:hell_grail"}, custom_model_data=5257002] if score # rmr.entity.hell_mode matches 0 run item modify entity @s weapon.mainhand rmr:set_hell_grail/inactive

execute as @a if items entity @s weapon.offhand carrot_on_a_stick[custom_data={id:"rmr:hell_grail"}, custom_model_data=5257001] if score # rmr.entity.hell_mode matches 1 run item modify entity @s weapon.offhand rmr:set_hell_grail/active
execute as @a if items entity @s weapon.offhand carrot_on_a_stick[custom_data={id:"rmr:hell_grail"}, custom_model_data=5257002] if score # rmr.entity.hell_mode matches 0 run item modify entity @s weapon.offhand rmr:set_hell_grail/inactive

execute as @a run function rmr:item/hell_grail/tick_player